package com.weidong.mybbs.util;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

@Component
@Slf4j
public class RedisUtil {

    @Autowired
    private JedisPool jedisPool;

    private String get(String key,int indexdb){
        Jedis jedis = jedisPool.getResource();
        return "";
    }
}
